<?php
	if (isset($_SESSION['login']) && $_SESSION['login'] == true) {
		header ("Location: listusers.php");
	}
	session_start();

	include("LangHeader.php");
?>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="scripts/salesmakeover.js"></script>
<?php echo $LangScript; ?>
<title>Sales Makeover</title>
</head>

<body style='background-image: url("content/login_background_2.jpg"); background-position:50% 0%;'>
	<div class="container_head">
		<div class="login_container_head_content">
			<div style='height:100px;'>
				<div style='float:right;margin-top:25px;'>
				<a href="http://leadsmachine.se/index.php" class="headline_link">
					<img src="content/salesmakeover_logo.png" height="60%" width="60%"  >
					<div style="font-family: Arial; font-size:12px; color:#666666;margin-top:5px;">salesmakeover.se</div></a>
					<!--<a href="#" onclick='ChangeLang("en");'><img src="content/icon_eng_default.png" style='padding-top:10px;padding-right:8px;' ></a>
					<a href="#" onclick='ChangeLang("se");'><img src="content/icon_swe_default.png" ></a>-->
				</div>
			</div>
		</div>
	</div>
	<div class="login_container">
		<div class="login_form_container">
			
			<div style='float:right;margin-top:10px;margin-right:65px;'>
				<a href="#" onclick='SalesMakeover.ChangeLang("en");'><img src="content/icon_eng_default.png" style='padding-top:10px;padding-right:8px;' ></a>
				<a href="#" onclick='SalesMakeover.ChangeLang("se");'><img src="content/icon_swe_default.png" ></a>
			</div>
			
			<div class="login_quote_container">
				<div class="login_quote">
					"Genom att använda Solution Selling vände vi en svår situation på Telenor och lyckades nå säljmål som tidigare ansågs ouppnåeliga"
				</div>
				<div class="login_quote_small">
					-Björn Hanson, Försäljningsdirektör, Telenor
				</div>
			</div>
		
			<form id="form_login" class="form_login"  method="post" action="login.php" accept-charset="UTF-8">
				<div class="LoginLabel tr" key="username"></div>
				<input type="email" name="username" style="opacity:0.7;width:290px;margin-left:auto;margin-right:auto;" onfocus='this.select()' onmouseup="return false;" >
				<div class="LoginLabel tr" key="password"></div>
				<input type="password" name="password" style="opacity:0.7;width:290px;margin-left:auto;margin-right:auto;" onfocus='this.select()' onmouseup="return false;">
				
				<div class="forgotten_password"><div onclick="SalesMakeover.ForgottenPassword()" class="tr" key="forgotten_password" style="cursor:pointer;color:white;"></div>
				<div class="form_submit_center" id="button"><input  type="submit" class="button tr" key="login" style="width:315px; height:44px; margin-top:30px;"></div></div>
				
			</form>
			<?php if(isset($_SESSION["message"])){ $message = $_SESSION['message']; echo "<script type='text/javascript'>alert('$message');</script>";unset($_SESSION['message']); } ?>
			<div class='Login_Watermark'>© 2014 Sales Makeover</div>
		</div>
		<!--<footer>-->
			
		<!--</footer>-->
	</div>
	
</body>

</html>
